package org.jeecg.modules.sxaq.ior.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 进出场记录
 * @Author: DHC
 * @Date:  2020-12-01
 */
@Data
@TableName("record_inout")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="record_inout对象", description="进出场记录")
public class RecordInout implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**事件生成时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "事件生成时间")
    private java.util.Date eventTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**用户id*/
	@Excel(name = "用户id", width = 15)
    @ApiModelProperty(value = "用户id")
    private java.lang.String userId;
	/**用户名*/
	@Excel(name = "用户名", width = 15)
    @ApiModelProperty(value = "用户名")
    private java.lang.String username;
	/**真实姓名*/
	@Excel(name = "真实姓名", width = 15)
    @ApiModelProperty(value = "真实姓名")
    private java.lang.String realname;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private java.lang.String phone;

    /**
     * 1 进场
     * 2 出场
     */
	@Excel(name = "事件类型", width = 15)
    @ApiModelProperty(value = "事件类型")
    private java.lang.Integer type;

	@TableField(exist = false)
    private java.lang.String orgCodeTxt;

    @Excel(name = "进出场闸机号", width = 15)
    @ApiModelProperty(value = "进出场闸机号")
    private java.lang.String gateCode;

    @Excel(name = "进出场闸机名", width = 15)
    @ApiModelProperty(value = "进出场闸机名")
    private java.lang.String gateCodeTxt;

	// 移除描述文件密码
    private java.lang.String password;

    // 手机型号
    private java.lang.String mobileModel;
    // 手机系统
    private java.lang.String mobileSystem;
    // 手机系统版本
    private java.lang.String mobileVersion;
    // 手机唯一标识
    private java.lang.String mobileSingle;
    // 员工卡号
    private java.lang.String workNo;
    // 扫码机器名称
    private java.lang.String scanName;
    // 扫码机器code
    private java.lang.String scanCode;

}
